package com.sajus.billing.client.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;


public class ServiceDTO implements Serializable{
	
private Integer id;
	
	private Date subscriptionDate;
	private Date activationDate;
	private Date cancellationDate;
	private int status;
	private AccountDTO account;
	
	private OfferingDTO offering;
	
	private double baseRate;
	private double limit;
	private double step1Unit;
	private double step1Rate;
	private double step2Unit;
	private double step2Rate;
	
	private double minUnit;
	private double minRate;
	private double maxUnit;
	private double maxRate;
	
	private String preRule;
	private String postRule;

	private ArrayList<ServiceAttributeDTO> serviceAttributes;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getSubscriptionDate() {
		return subscriptionDate;
	}

	public void setSubscriptionDate(Date subscriptionDate) {
		this.subscriptionDate = subscriptionDate;
	}

	public Date getActivationDate() {
		return activationDate;
	}

	public void setActivationDate(Date activationDate) {
		this.activationDate = activationDate;
	}

	public Date getCancellationDate() {
		return cancellationDate;
	}

	public void setCancellationDate(Date cancellationDate) {
		this.cancellationDate = cancellationDate;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}


	public AccountDTO getAccount() {
		return account;
	}

	public void setAccount(AccountDTO account) {
		this.account = account;
	}

	public OfferingDTO getOffering() {
		return offering;
	}

	public void setOffering(OfferingDTO offering) {
		this.offering = offering;
	}

	public ArrayList<ServiceAttributeDTO> getServiceAttributes() {
		return serviceAttributes;
	}

	public void setServiceAttributes(
			ArrayList<ServiceAttributeDTO> serviceAttributes) {
		this.serviceAttributes = serviceAttributes;
	}

	public double getBaseRate() {
		return baseRate;
	}

	public void setBaseRate(double baseRate) {
		this.baseRate = baseRate;
	}

	public double getLimit() {
		return limit;
	}

	public void setLimit(double limit) {
		this.limit = limit;
	}

	public double getStep1Unit() {
		return step1Unit;
	}

	public void setStep1Unit(double step1Unit) {
		this.step1Unit = step1Unit;
	}

	public double getStep1Rate() {
		return step1Rate;
	}

	public void setStep1Rate(double step1Rate) {
		this.step1Rate = step1Rate;
	}

	public double getStep2Unit() {
		return step2Unit;
	}

	public void setStep2Unit(double step2Unit) {
		this.step2Unit = step2Unit;
	}

	public double getStep2Rate() {
		return step2Rate;
	}

	public void setStep2Rate(double step2Rate) {
		this.step2Rate = step2Rate;
	}

	public double getMinUnit() {
		return minUnit;
	}

	public void setMinUnit(double minUnit) {
		this.minUnit = minUnit;
	}

	public double getMinRate() {
		return minRate;
	}

	public void setMinRate(double minRate) {
		this.minRate = minRate;
	}

	public double getMaxUnit() {
		return maxUnit;
	}

	public void setMaxUnit(double maxUnit) {
		this.maxUnit = maxUnit;
	}

	public double getMaxRate() {
		return maxRate;
	}

	public void setMaxRate(double maxRate) {
		this.maxRate = maxRate;
	}

	public String getPreRule() {
		return preRule;
	}

	public void setPreRule(String preRule) {
		this.preRule = preRule;
	}

	public String getPostRule() {
		return postRule;
	}

	public void setPostRule(String postRule) {
		this.postRule = postRule;
	}
	
}
